<template>
  <div class="app">
    <el-container>
      <el-header>
        <div id="nav">
          <router-link :to="{ name: 'Home' }">Home</router-link> |
          <router-link :to="{ name: 'About' }">About</router-link> |
          <router-link :to="{ name: 'BMI' }">bmi</router-link>
        </div>
      </el-header>
      <el-main>
        <router-view />
      </el-main>
    </el-container>
  </div>
</template>

<style lang="stylus">
@import "~normalize.css"

.app
  font-family Avenir, Helvetica, Arial, sans-serif
  -webkit-font-smoothing antialiased
  -moz-osx-font-smoothing grayscale
  color #2c3e50

.el-header {
  background-color: #B3C0D1;
  color: #333;
  text-align: center;
  line-height: 60px;
}

.el-main {
  background-color: #E9EEF3;
  min-height calc(100vh - 60px)
}
</style>
